

    \filetitle{dat2dec}{Convert dates to decimal grid}{dates/dat2dec}

	\paragraph{Syntax}

\begin{verbatim}
Dec = dat2dec(Dat)
Dec = dat2dec(Dat,Pos)
\end{verbatim}

\paragraph{Input arguments}

\begin{itemize}
\item
  \texttt{Dat} {[} numeric {]} - IRIS serial date number.
\item
  \texttt{Pos} {[}
  \emph{\texttt{\textquotesingle{}start\textquotesingle{}}} \textbar{}
  \texttt{\textquotesingle{}centre\textquotesingle{}} \textbar{}
  \texttt{\textquotesingle{}end\textquotesingle{}} {]} - Point within
  the period that will represent the date; if omitted, \texttt{Pos} is
  set to \texttt{\textquotesingle{}start\textquotesingle{}}.
\end{itemize}

\paragraph{Output arguments}

\begin{itemize}
\tightlist
\item
  \texttt{Dec} {[} numeric {]} - Decimal grid representing the input
  dates, computed as \texttt{Year\ +\ (Per-1)/Freq}.
\end{itemize}

\paragraph{Description}

\paragraph{Example}


